package com.fortune.rainshinecommon.base;

import java.util.List;

/**
 * @program: rainShine
 * @description: 分页查询返回
 * @author: tangyn
 * @create: 2019-02-26
 **/
public class PagingListResult<E> {
    /**总记录数*/
    private long total = 0;
    /**data*/
    private List<E> rows = null;

    private String msg;

    private int code = 1;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public long getTotal() {
        return total;
    }

    public void setTotal(long total) {
        this.total = total;
    }

    public List<E> getRows() {
        return rows;
    }

    public void setRows(List<E> rows) {
        this.rows = rows;
    }
}
